package org.ishequ.domain;

public class Person {

	private int id;
	private String name;
	private String phone;
	private float amount;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public float getAmount() {
		return amount;
	}
	public void setAmount(float amount) {
		this.amount = amount;
	}
	public Person(int id, String name, String phone, float amount) {
		super();
		this.id = id;
		this.name = name;
		this.phone = phone;
		this.amount = amount;
	}
	public Person(int id,String name, String phone) {
		super();
		this.id = id;
		this.name = name;
		this.phone = phone;
	}
	
	public Person(String name, String phone, float amount) {
		super();
		this.name = name;
		this.phone = phone;
		this.amount = amount;
	}
	@Override
	public String toString() {
		return "Person [amount=" + amount + ", id=" + id + ", name=" + name
				+ ", phone=" + phone + "]";
	}
}
